<@compress single_line=isCompress>
<!DOCTYPE html>
<html>
<head>
<title>授权人管理</title>
<#include "/pager/common/quote.html" />
</head>
<body>
    <div class="body-center">
        <div class="html-panel query-panel" id="query_con">
            <div class="panel-header"><div class="panel-title">查询条件</div></div>
            <div class="panel-content" id="menuMgrPanel">
                <form onsubmit="return false;" id="queryForm" class="form_style">
                    <span class="spacing"><label>授权人名称：</label><input type="text" name="username"/></span>
                    <span class="spacing"><label>手机号码：</label><input type="text" name="phone"/></span>
                    <span class="spacing"><label>状态：</label><select name="status" style="width: 100px"><option value="">==请选择==</option><option value="1">启用</option><option value="0">停用</option></select></span>
                    <span class="spacing"><input type="submit" id="queryButton" value="查询"/></span>
                </form>
            </div>
        </div>
        <table id="grid" data-options="url:'verifier/list.html',method:'post'" title="授权人列表">
            <thead>
                <th data-options="field:'id',width:100,resizable:true,align:'left'">ID</th>
                <th data-options="field:'username',width:100,resizable:true,align:'left'">授权人名称</th>
                <th data-options="field:'phone',width:80,resizable:true,align:'left'">手机号码</th>
                <th data-options="field:'status',width:80,resizable:true,align:'left',formatter:formatter.status">状态</th>
                <th data-options="field:'opt',width:100,resizable:true,align:'center',formatter:formatter.opt">操作</th>
            </thead>
        </table>
    </div>
    <div class="hide-panel">
        <div id="verifierEditDialog" style="width:400px;height:300px;" data-options="resizable:false,modal:true,closed: true">
            <form id="verifierEditForm" class="form_style" method="post" onsubmit="return false;">
            	<input type="hidden" name="id" id="id" />
                <div class="form-field">
                    <label for="lodgementRef">授权人名称：</label>
                    <select name="username" id="username" data-options="required:true">
                        <option value="">==请选择==</option>
                        <#if usernames?? && usernames?size gt 0><#list usernames as u>
                        <option value="${u.username}">${u.username}</option></#list></#if>
                    </select>
                </div>
                <div class="form-field" style="display:none">
                    <label for="userId">授权人ID：</label>
                    <input type="text" name="userId" id="userId" maxlength="30" />
                </div>
                <div class="form-field">
                    <label for="phone">手机号码：</label>
                    <input class="easyui-validatebox" type="text" name="phone" maxlength="50" id="phone" data-options="required:true" readonly="readonly"/>
                </div>
                <div class="form-field">
                    <label for="status">状态：</label>
                    <select name="status" id="status" data-options="required:true">
                    	<option value="1">启用</option>
                        <option value="0">停用</option>
                    </select>
                </div>
            </form>
        </div>
    </div>
</body>
</html>
</@compress>
